<div class="extra-wrap">
  <div class="wrapper">
    <div class="col-1">
      <div class="extra-wrap">
        <!-- box2 begin -->
        <div class="box2">
          <div class="border-top">
            <div class="border-right">
              <div class="border-bot">
                <div class="border-left">
                  <div class="left-top-corner">
                    <div class="right-top-corner">
                      <div class="right-bot-corner">
                        <div class="left-bot-corner">
                          <div class="inner">
                            <!--update-box begin -->
                            <div class="title-box" style="font-size: 13px; font-weight: bold;">
                              <?php echo utf8_encode('Nossos Membros')?>
                            </div>
                            <!-- update-box end -->
                            <?php 
                              $intCounter = 0;
                              
                              foreach($this->arrMembers as $arrData){
                                $intCounter++;
                                
                                $strStyle = ''; 
                                if($intCounter == (count($this->arrMembers))){
                                  $strStyle = "style='border-bottom:none; padding-bottom:0;'";
                                }                                
                                ?>
                                <div class="block" <?php echo $strStyle?>>
                                  <div class="wrapper">
                                    <div class="extra-wrap">
                                      <div class="img-box">
                                        <?php 
                                          if($arrData['ds_photo']){?>
                                            <img alt="" src="<?php echo $arrData['ds_photo']?>"/>
                                            <?php 
                                          }
                                          else{
                                            ?>
                                            <div style="border: #CCC dashed 1px; width: 71px; height: 70px; float: left; margin-right: 10px; text-align: center; vertical-align: middle; color: #CCC;">
                                              Sem imagem
                                            </div>
                                            <?php
                                          } 
                                        ?> 
                                        <h4 style="height: 10px;">
                                          <?php echo utf8_encode($arrData['ds_member'])?>
                                        </h4>  
                                        <ul class="list4">
                                          <li style="padding-top: 0px; font-style: italic;">
                                            <p style=" margin-bottom: -1px;">
                                              <?php echo $arrData['nr_order'] . 'º ' . utf8_encode($arrData['ds_office'])?> 
                                            </p>
                                            
                                            <p style=" margin-bottom: -1px;">
                                              <?php echo 'Desde ' . implode("/", array_reverse(explode("-", $arrData['dt_admission'])))?> 
                                            </p>
                                            
                                            <p style=" margin-bottom: -1px;">
                                              <?php echo 'E-mail: ' . $arrData['ds_email_work']?>
                                            </p>
                                            
                                            <p style=" margin-bottom: -1px;">
                                              <?php echo 'Fone: ' . $arrData['ds_phone_mobile']?>
                                            </p>
                                            
                                            <p style=" margin-bottom: -1px;">
                                              <?php echo 'Aniversário: ' . $arrData['aniversario']?>
                                            </p>
                                          </li>
                                        </ul>
                                      </div>
                                    </div>
                                  </div>
                                </div>      
                                <?php
                              }
                            ?>
                            <!-- last-news-box end -->
                          </div>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
        <!-- box2 end -->
      </div>
    </div>  
  </div>
  <!-- END WRAPPER -->
</div>